#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QFrame>

class QStackedLayout;
class HomePage;
class HomePageCheckWidget;
class HomePageModel;
class MainWindow : public QFrame
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void initUI();
    void initconnect();

public slots:
    void showRating();
    void showHomePage();
private:
    QStackedLayout* mMainLayout;
    HomePageCheckWidget* mRatingWidget;
    HomePage* mHomePage;
    HomePageModel* mModel;
};

#endif // MAINWINDOW_H
